import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store';
//import mock from './mock/second'
//完整引入
//引入ElementUI组件库
import ElementUI from 'element-ui';
//引入ElementUI全部样式
import 'element-ui/lib/theme-chalk/index.css';
//引入图标
import 'font-awesome/css/font-awesome.min.css';
//引入编辑器组件
import mavonEditor from 'mavon-editor'
import 'mavon-editor/dist/css/index.css'
//前后端交互
// import axios from 'axios';
// axios.defaults.baseURL = "http://localhost:8086"
// Vue.prototype.$http = axios
import request from './utils/request';
Vue.prototype.request = request

Vue.config.productionTip = false
//组件注册
Vue.use(ElementUI, { size: "small" });
Vue.use(mavonEditor)

new Vue({
  router,
  store: store,
  //mock: mock,
  render: h => h(App)
}).$mount('#app')